<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@taglib uri="/struts-tags"  prefix="s"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>学员注册</title>
	
  </head>
  
  <body>
  <s:fielderror/>
      <form action="register" method="post">
                     姓名：<input type="text" name="student.sname"/><br/>
                     年龄：<input type="text" name="student.age"/><br/>
                     出生日期：<input type="text" name="student.birthday"/><br/><br/>
        <input type="submit" value="注册"/>
      </form>
  </body>
</html>
